#include <iostream>
#include <vector>
using namespace std;
class kama
{
private:
    /* data */
public:
    kama(/* args */);
    ~kama();
    int func(int space, vector<int> v1, vector<int> v2)
    {
        
    }
};

kama::kama(/* args */)
{
}

kama::~kama()
{
}

int main(int argc, char const *argv[])
{
    int n, space;
    cin >> n >> space;
    vector<int> v1, v2;
    int val;
    for (size_t i = 0; i < n; i++)
    {
        cin >> val;
        v1.push_back(val);
    }
    for (size_t i = 0; i < n; i++)
    {
        cin >> val;
        v2.push_back(val);
    }

    return 0;
}
